import { RouteRecordRaw } from 'vue-router'

const routes: Array<RouteRecordRaw> = [
    { path: '/', redirect: '/Home' },
    { path: '/Home', name: '首页', component: () => import('../components/Home.vue') },
    { path: '/Order', name: '订货单', component: () => import('../components/Order.vue') },
    { path: '/OrderAdd', name: '订货单添加', component: () => import('../components/OrderAdd.vue') },
]

export default routes